
@interface CustomNavigationBar : UINavigationBar
{
  CGFloat backButtonCapWidth;
}

@property (nonatomic, retain) IBOutlet UINavigationController* navigationController;

-(UIButton*) backButtonWith:(UIImage*)backButtonImage highlight:(UIImage*)backButtonHighlightImage leftCapWidth:(CGFloat)capWidth title:(NSString *)title;
-(UIButton*) doneButtonWith:(UIImage*)backButtonImage highlight:(UIImage*)backButtonHighlightImage leftCapWidth:(CGFloat)capWidth title:(NSString *)title;
- (void)applyDefaultStyle;

@end
